function answer=rows(vec)
    [answer cols] = size(vec);
end